// 此文件是用户表的设计

const mongoose = require('mongoose');

let schema = new mongoose.Schema({
  username:  {
    type: String,
    required: true
  },
  password: {
    type: String,
    required: true
  },
  avatar: String
})
module.exports = mongoose.model('managers', schema)